﻿
@{
    Layout = null;
}
@*防窜货统计*@
<script src="~/Scripts/MGJJS/FleeGoods/PreventFlee.js"></script>
<div class="mtlr15">
    <div class="row">
        <div class="col-lg-4 col-md-4 col-sm-4 col-lg-offset-8 col-md-offset-8 col-sm-offset-8">
            <div class="input-group">
                <input id="Ssearch" type="text" class="form-control" placeholder="产品名称" onkeydown="if (event.keyCode == 13) { $.MGJ.PreventFlee.Ajax_GetInfo(1); }">
                <span class="input-group-addon" onclick="$.MGJ.PreventFlee.Ajax_GetInfo(1);">
                    <span class="glyphicon glyphicon-search"></span>
                </span>
            </div>
        </div>
    </div>
    <div id="Table">
        <div class="overflow">
            <table class="table table-hover table-bordered">
                <thead>
                    <tr>
                        <th><input type="checkbox" class="AllClickCheckbox"></th>
                        <th>物流代码</th>
                        <th>所属机构</th>
                        <th>产品名称</th>
                        <th>经销商</th>
                        <th>销售片区</th>
                        <th>所属地区</th>
                        <th>查询地区</th>
                        <th>查询方式</th>
                        <th>查询者</th>
                        <th>是否窜货</th>
                        @*<th>操作</th>*@
                    </tr>
                </thead>
                @*可能会长的 加一下title*@
                <tbody id="tableList" style="display:none;" binding="{'pageId':'ShoppingPager','pageCallback':' $.MGJ.PreventFlee.Ajax_GetInfo','emptyHtml':OMID_EmptyHtml}">
                    <tr>
                        <td width="15"><input type="checkbox" class="AllClickChild"></td>
                        <td binding="{'text':'Fw_Code'}"></td>
                        <td binding="{'text':'EnterpriseName'}"></td>
                        <td binding="{'text':'ProductName'}"></td>
                        <td binding="{'text':'DisName'}"></td>
                        <td binding="{'text':'SalesAreaName'}"></td>
                        <td binding="{'text':'JurisdictionPrivanceName'}"></td>
                        <td binding="{'text':'Address'}"></td>
                        <td binding="{'text':'QueryType'}"></td>
                        <td binding="{'text':'QueryIp'}"></td>
                        <td binding="{'text':'IsAntifleeing'}"></td>
                        @*<td>
                            <a onclick="$.MGJ.PreventFlee.Dialog_ShowData()">详细数据</a>
                        </td>*@
                    </tr>
                </tbody>
            </table>
        </div>
        <div id="ShoppingPager"></div>
    </div>
</div>

<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.OMID_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';
    $(function () {
        $.MGJ.PreventFlee.Ajax_GetInfo(1);
    });
</script>



